GtkStyleSet: Fix typo
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 11 Sep 2010 10:10:25 +0000 (12:10 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:12 +0000 (15:38 +0100)
gtk/gtkstyleset.c

index fb8486c475bf117c06fe6e3db457734cbce4b429..cd1c8dfb2a3abe53b0332d4326b1c6cc437c889a 100644 (file)
@@ -748,7 +748,7 @@ gtk_style_set_get_valist (GtkStyleSet   *set,
         }
       else if (G_VALUE_TYPE (val) == GTK_TYPE_GRADIENT)
         {
-          g_return_val_if_fail (node->property_type == GDK_TYPE_CAIRO_PATTERN, FALSE);
+          g_return_if_fail (node->property_type == GDK_TYPE_CAIRO_PATTERN);
 
           if (!resolve_gradient (set, val))
             val = &node->default_value;